package java9_2;

import java.util.InputMismatchException;
import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class Div4 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        //只有try和finally
        try {
            System.out.println("please input a :");
            int a = sc.nextInt();
            System.out.println("input b:");
            int b = sc.nextInt();
            int c = a / b;
            System.out.println("商是："+c);
        }
        finally {
            System.out.println("运算结束了。。。");
        }

    }
}
